This workshop is geared towards intermediate-level Python users. Attendees will need cell phone and a laptop with a working python environment.
We’ll assume you have a good basic familiarity with the language, and already have a good working environment setup.
We will be using Python 3.6, but any version after 3.5 will work as well.
We will be using a python cookie cutter to setup a basic template to start our project off with.
We’ll go through what aiohttp is, how to utilize it and start building our asynchronous web service.
We’ll talk about the benefits of setting up an asynchronous server including better metrics and logging.
We’ll be building an app akin to the Dial-A-Joke app built by Steve Wozniak. Our server will make calls to users who have signed up to receive jokes at scheduled times and tell them a joke using TTS, and it will also provide a basic interactive experience over the phone using the touchpad.
We’ll setup native asynchronous scheduling inside the service and let it run.
Workshop that goes through getting started with MicroPython, using the D1 mini as the hardware platform.
There is an initial setup part that covers installing drivers and connecting to boards REPL, usually about 15-20 minutes.
Matrix is an open standard for interoperable, decentralised, real-time communication over the Internet.
It can be used to power Instant Messaging, VoIP/WebRTC signalling, Internet of Things communication - or anywhere you need a standard HTTP API for publishing and subscribing to data whilst tracking the conversation history.
There are Python SDKs available for interfacing with Matrix as a client (that is, doing things a client application or bot would do, such as sending and receiving messages.)
Download the entire RoboFarm and RoboRecycling folders
Save in a folder where you can use Python and a Jupyter Notebook or upload to your Google Drive and run in Colab
To run Notebooks locally:
Comment out Google Colab specific instructions ie mounting a Google Drive
Adjust 'base_dir' to point to your location of the RoboFarm or RoboRecycling folder on your system.
Run notebook the requirements cell should install everything you need if you don't already have it eg Tensorflow
Make a check point so you can return to original version.
To run in Colab:
These notebooks should run on Colab without modifcation you may need to adjust "base_dir" to point to the correct location
Link to folder here:
Robo Farm
https://drive.google.com/drive/folders/1x4hxiDkYLmqQzikF6OZ6oFNLfvZROom2?usp=sharing
RoboRecycling
https://drive.google.com/open?id=13ymFwjEimJYmeqwzsG66yznIrSnhh-ty